package si.yun.dao;

import org.apache.ibatis.annotations.Param;
import si.yun.entity.SyMicrocircleImg;
import si.yun.entity.SyMicrocircleImgExample;

import java.util.List;

public interface SyMicrocircleImgMapper {
    long countByExample(SyMicrocircleImgExample example);

    int deleteByExample(SyMicrocircleImgExample example);

    int deleteByPrimaryKey(Integer pictureId);

    int insert(SyMicrocircleImg record);

    int insertSelective(SyMicrocircleImg record);

    List<SyMicrocircleImg> selectByExample(SyMicrocircleImgExample example);

    SyMicrocircleImg selectByPrimaryKey(Integer pictureId);

    int updateByExampleSelective(@Param("record") SyMicrocircleImg record, @Param("example") SyMicrocircleImgExample example);

    int updateByExample(@Param("record") SyMicrocircleImg record, @Param("example") SyMicrocircleImgExample example);

    int updateByPrimaryKeySelective(SyMicrocircleImg record);

    int updateByPrimaryKey(SyMicrocircleImg record);
    /*
       * @Description : 添加商品预览图片
       * @Return : int
       * @Date : 2021/8/14 20:33
       */
    int addProductImg(List<SyMicrocircleImg> list1);
}